package com.ruoyi.back.service.v3

import com.baomidou.mybatisplus.extension.service.IService
import com.ruoyi.app.common.Data
import com.ruoyi.back.domain.v3.StyleSetting
import com.ruoyi.back.domain.v3.dto.StyleSearchDto
import com.ruoyi.back.domain.v3.vo.CartoonStyleVo
import com.ruoyi.back.domain.v3.vo.Pic2PicStyleVo
import com.ruoyi.back.domain.v3.vo.Text2PicStyleVo

interface StyleSettingService : IService<StyleSetting> {

    fun getNameByIds(ids: String): String?


    /**
     * 文生图
     */
    fun text2PicStyleList(styleSearchDto: StyleSearchDto): Data<List<Text2PicStyleVo>>

    /**
     * 图生图
     */
    fun pic2PicStyleList(styleSearchDto: StyleSearchDto): Data<List<Pic2PicStyleVo>>

    /**
     * 卡通
     */
    fun cartoonStyleList(styleSearchDto: StyleSearchDto): Data<List<CartoonStyleVo>>


    /**
     * 更新风格信息
     */
    fun updateStyle(styleSetting: StyleSetting): Data<Boolean>

}